import requests

# r = requests.post("https://gitee.com/oauth/token?grant_type=authorization_code&code=15ca61e3a6f81f25094409eea11f641b14317438eb48cea6a77df434d565c959&client_id=2758388aa49e2fa4b839c830f02b21919d0ba2d0cfa82febda1d19b79e456fe3&redirect_uri=http://localhost:8000/gitee_back&client_secret=8aff1c42e2eb49b99001d01640549451e2e180e652a45853a5e776c2881adc0c")
# html = r.text
# print(html)


r = requests.get("https://gitee.com/api/v5/user?access_token=获取到的accesstoken")

print(r.text)



#431e7bed52369f4792f6529dfa5ced95

https://gitee.com/oauth/authorize?client_id=2758388aa49e2fa4b839c830f02b21919d0ba2d0cfa82febda1d19b79e456fe3&redirect_uri=http://localhost:8000/gitee_back&response_type=code

